﻿@using Microsoft.AspNetCore.Mvc.Localization;
@inject IViewLocalizer Localizer

<form class="layui-form layui-form-pane" style="width:100%;">
    <blockquote class="layui-elem-quote quoteBox">
        <div class="layui-inline">
            <a class="layui-btn layui-btn-normal upload_btn"><i class="layui-icon">&#xe61f;</i>@Localizer["FileUpload"]</a>
        </div>
        <div class="layui-inline">
            <a class="layui-btn layui-btn-danger layui-btn-normal delAll_btn"><i class="layui-icon layui-icon-delete"></i>@Localizer["BatchDelete"]</a>
        </div>
        @*<div class="layui-inline">
                <button class="layui-btn layui-btn-normal" lay-submit="" lay-filter="submitUpload">@Localizer["Submit"]</button>
            </div>
            <div class="layui-inline">
                <button type="reset" class="layui-btn layui-btn-primary">@Localizer["Reset"]</button>
            </div>*@
    </blockquote>
</form>
<table id="fileList" lay-filter="fileList"></table>
<!--操作-->
<script type="text/html" id="fileListBar">
    <a class="layui-btn layui-btn-xs layui-btn-danger" lay-event="del">@Localizer["Delete"]</a>
</script>
@*<div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">@Localizer["File"]</label>
        <div class="layui-input-block">
            <input type="text" name="upfile" onclick="CourseFile.click()" readonly class="layui-input upfile" lay-verify="required|upfile" placeholder="@Localizer["FilePlaceholder"]">
            <input type="file" id="CourseFile" name="CourseFile" style="display:none" multiple="multiple" onchange="upfile.value=this.value">
        </div>
    </div>*@


@section Scripts{
    <script type="text/javascript" src="~/layui/layui.js"></script>
    <script type="text/javascript" src="~/js/Assets/AssetsUpload.js"></script>
}